package com.loongnoy.service;

import com.loongnoy.entity.User;
import com.loongnoy.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {
    // 验证用户登录
   User login(String username, String password);
    // 查询所有用户
    List<User> findAll();
}